package cn.gyouzhe.config;

import cn.gyouzhe.config.props.DBProperties;
import cn.gyouzhe.config.props.TaobaoProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 应用配置
 *
 * @author wangchuan
 * @createTime 2018/2/24 17:17
 */
@Configuration
@EnableConfigurationProperties({
        DBProperties.class,
        TaobaoProperties.class
})
@EnableScheduling
public class AppConfig {
}
